package api

import request "gitee.com/changeden/volcengine-livesaas-request-go"

type UpdateBulletScreensSwitchRequest struct {
	ActivityId          *int64 `json:"ActivityId"`
	BulletScreensSwitch *int32 `json:"BulletScreensSwitch"`
}
type UpdateBulletScreensSwitchResponse struct {
	Status bool `json:"Status"`
}

func (instance *Instance) UpdateBulletScreensSwitch(data *UpdateBulletScreensSwitchRequest) (*UpdateBulletScreensSwitchResponse, error) {
	d := request.Data{
		Action: "UpdateBulletScreensSwitchAPI",
	}
	bindBody(&d, *data)
	var res UpdateBulletScreensSwitchResponse
	err := instance.post(&d, &res)
	return &res, err
}
